package dk.pun.aot.client.view;

import com.google.gwt.user.client.ui.Widget;

import dk.pun.aot.client.dice.DiceRoll;
import dk.pun.aot.shared.character.CharacterData;
import dk.pun.aot.shared.character.QualityType;
import dk.pun.aot.shared.character.SkillType;

public interface ViewCharacterView {

	public interface Presenter {
		void onCoreQualityUpdated(QualityType type, int score);
		void onSkillUpdated(SkillType type, int rank);
		void onDiceRolled(DiceRoll diceRoll);
	}
	
	void setCharacterData(CharacterData characterData);
	
	void setPresenter(Presenter presenter);
	Widget asWidget();
}
